package com.hxit.huaxiamelongarden.domin.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @ClassName ChatMessage
 * @description 聊天实体类
 * @Author 12694
 * @Date 2025/1/30 19:37
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("chat_messages")
public class ChatMessage {
    @TableId(type = IdType.AUTO)
    private Integer messageId;
    private Integer senderId;
    private Integer receiverId;
    private String message;
    private Timestamp createdAt;
}
